//
// Created by Yun on 2025/3/3.
//

#ifndef FRMAEWORK_DEMO_GPIO_I2C_INTERFACE_H
#define FRMAEWORK_DEMO_GPIO_I2C_INTERFACE_H

#include "interface_common_type.h"

typedef struct Bsp_I2c_Interface {
    uint8_t (*Init) (void* pI2CHwCfg);
    uint8_t (*Transmit)(void* pSpiHwCfg, uint16_t u16Address,uint8_t* pu8TxData,
                        uint16_t u16Len, uint32_t u32TimeOut);

    uint8_t (*Receive)(void* pSpiHwCfg, uint16_t u16Address,uint8_t* pu8RxData,
                       uint16_t u16Len, uint32_t u32TimeOut);
}I2c_Interface_TypeDef;


#endif //FRMAEWORK_DEMO_GPIO_I2C_INTERFACE_H
